package com.wty.gw.model.Do;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Table(name = "sys_user")
public class UserDO implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name="id", unique = true, nullable = false)
	private Integer id;
	//
	@Column(name="company_id")
	private Integer companyId;
	//登录名，姓名
	@Column(name="name")
	private String name;
	//密码
	@Column(name="passwd")
	private String passwd;
	//创建人
	@Column(name="creater")
	private Integer creater;
	//创建时间
	@Column(name="create_time")
	private java.util.Date createTime;
	//更新人
	@Column(name="updator")
	private Integer updator;
	//更新时间
	@Column(name="update_time")
	private java.util.Date updateTime;
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getCompanyId() {
		return this.companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}
	public String getPasswd() {
		return this.passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}
	public Integer getCreater() {
		return this.creater;
	}

	public void setCreater(Integer creater) {
		this.creater = creater;
	}
	public java.util.Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}
	public Integer getUpdator() {
		return this.updator;
	}

	public void setUpdator(Integer updator) {
		this.updator = updator;
	}
	public java.util.Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}
}